/*过度动画*/
.transition {
    transition-property: top;
    transition-duration: .3s;
    transition-timing-function: linear;
    transition-delay: 0s;
    -moz-transition-property: top;
    -moz-transition-duration: .3s;
    -moz-transition-timing-function: linear;
    -moz-transition-delay: 0s;
    -webkit-transition-property: top;
    -webkit-transition-duration: .3s;
    -webkit-transition-timing-function: linear;
    -webkit-transition-delay: 0s;
    -o-transition-property: top;
    -o-transition-duration: .3s;
    -o-transition-timing-function: linear;
    -o-transition-delay: 0s;
}
/*文档头部*/
.m-manual .manual-head {
    min-width: 980px;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 54px;
    line-height: 54px;
    padding: 0 .8em 0 0;
    z-index: 900;
    position: fixed;
    top: 0;
    left: 300px;
    right: 0;
    background-color: #fff;
    transition: margin-left 0.3s;
}
.m-manual .manual-head .manual-title{
    display: inline-block;
    height: 30px;
    line-height: 54px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}
.m-manual .manual-head .manual-title .sidebarToggle{
    display: none;
}
.m-manual .manual-head .manual-title #book-title{
    color: #333333;
}
.m-manual .manual-head .manual-title #book-title:hover{
    text-decoration: none;
    color: #333333;
}
.m-manual .manual-head .manual-title .book-ver {
    font-size: 12px;
    font-weight: 100;
}
.doc-menu-item a{
    color: #333;
}

/*文档sidebar*/
.m-manual .manual-left {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    bottom: 0;
    width: 300px;
    border-right: 1px solid #ddd;
    background-color: #fff; /*#fafafa*/
}
.m-manual .manual-left .m-copyright {
    /*display: none;*/
    border-top: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    opacity: 1;
    filter: alpha(opacity=100);
    position: absolute;
    bottom: 0;
    margin: 0;
    font-size: 12px;
    z-index: 999;
    height: auto;
    width: 100%;
    padding: 5px 0;
    text-align: center;
    line-height: 24px
}
.m-manual .manual-left .m-copyright a{
    color: #0e8c8c;
    font-weight: bold;
}
/*右侧目录*/
.article-menu{overflow:auto;padding:10px 0 15px 10px;position: absolute;top:55px;bottom: 0;width: 300px;}
.article-menu ul,.article-menu li{list-style: none;padding: 0;margin: 0;}
.article-menu li{padding-left: 1em;}
.article-menu a{display: block;word-break: break-word;line-height: 25px;color: #333;margin-bottom: 10px;}
.article-menu a:hover{color: #008cff;}
.article-menu a.jstree-clicked,.article-menu a.active{color:#008cff !important;}
.article-menu .readed>a{color: #999999;}
.article-menu .readed>a:before{content:url("../img/readed.png");margin-left: -19px;position: relative;top: 3px;margin-right: 3px;}
.article-menu .readed.collapse-node>a:before{content: none}
.article-search{padding: 10px;border-bottom: 1px solid #dddddd;}
.article-search .input-group-addon{padding: 0;border-color: #DDDDDD;background-color: transparent;}
.article-search .input-group-addon button{padding: 8px 10px;background-color: transparent;border: 0;}
.article-search .pull-right{margin-right: -40px;margin-top: 35px;cursor: pointer;color: #666666;}
.article-search .form-control{padding-right: 5px;border-right: 0;box-shadow: none;border-color: #DDDDDD;}
.article-search .input-group-addon-clear{background-color: #ffffff;cursor: pointer;padding: 0 8px;border-left: 0;display: none;}
.article-search .input-group-btn .btn-default{border-color: #ddd !important;}
.article-search .btn-group.open .dropdown-toggle{box-shadow: none;}
.article-search .dropdown-menu{box-shadow: none;max-height: 50vh;overflow-y: auto;}
.article-menu .search-result{margin-left: -15px;display: none;}
.article-menu .search-empty{text-align: center;color: #888888;position: absolute;top:40%;width: 100%;font-weight: normal;font-size: 16px;}
.article-menu .search-empty .text{font-weight: normal !important;}
.article-menu .search-empty .fa-search-plus{display: block;font-size: 40px;margin-bottom: 15px;}
.collapse-menu{margin-left: 10px;padding-bottom: 50px;}
.collapse-menu .collapse-node{position: relative;}
.collapse-menu .collapse-node span {
    display: inline-block;
    width: 32px;height: 25px;
    box-sizing: border-box;
    position: absolute;left: -19px;
    cursor: pointer;
    background: url("../img/angle-down.png") no-repeat center center;
}
.collapse-menu .collapse-node.collapse-hide{
    height: 32px;
    white-space: nowrap;
}
.collapse-menu .collapse-node.collapse-hide ul{
    display: none;
}
.collapse-menu .collapse-node.collapse-hide span{
    background: url("../img/angle-right.png") no-repeat center center;
}
/*搜索关键字加亮*/
.m-manual .markdown-body .search-highlight{
    background-color: #FFFF00 !important;
    font-style: normal;
}
/*文档内容顶部*/
.article-info{border-bottom: 1px solid #EFEFEF;color: #999;padding: 10px 0;margin: 0 0 15px 0;}
.article-info a,.article-info span{color: #999;font-size: 13px;}
.article-info a:hover{color: #29d;}
.article-info span{margin-right: 10px;}
.article-info span.pull-right{margin-right: 0;}
.article-info i{font-style: normal;}
/*文档内容*/
.m-manual .manual-right {
    position: absolute;
    left: 300px;
    top: 55px;
    z-index: 300;
    overflow-y: auto;
    bottom: 0;
    right: 0;
}
.m-manual .manual-right .manual-article{
    background: #ffffff;
}
.manual-article .article-content{
    max-width: 1000px;
    padding: 10px;
    margin-left: auto!important;
    margin-right: auto!important
}

.manual-article .article-content .article-body{
    min-height: 90px;
    padding: 5px;
}
.manual-article .article-content .article-body .attach-list{
    list-style: none;
    border-top: 1px solid #DDDDDD;
    padding-top: 15px;
}
.manual-article .article-content .article-body blockquote {
    line-height: 26px;
    margin: 0 0 15px 0;
    background: #ecf8ff;
    border-left: 5px solid #50bfff;
    padding: 8px 15px;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
}

.manual-article .article-content .article-body blockquote p {
    margin: 0
}

.manual-article .jump-top .view-backtop{
    position: fixed;
    bottom: -30px;
    right: 30px;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    z-index: 9999;
    font-weight: 200;
    width: 30px;
    height: 30px;
    background-color: #999;
    border-radius: 4px;
    opacity: 0;
    filter: alpha(opacity=0);
    transition-property: all;
    transition-duration: .2s;
    transition-timing-function: linear;
    transition-delay: 0s;
    -moz-transition-property: all;
    -moz-transition-duration: .2s;
    -moz-transition-timing-function: linear;
    -moz-transition-delay: 0s;
    -webkit-transition-property: all;
    -webkit-transition-duration: .2s;
    -webkit-transition-timing-function: linear;
    -webkit-transition-delay: 0s;
    -o-transition-property: all;
    -o-transition-duration: .2s;
    -o-transition-timing-function: linear;
    -o-transition-delay: 0s;
}

.manual-article .jump-top .view-backtop.active{
    opacity: 0.5;
    bottom: 30px;
}
.manual-article .jump-top .view-backtop.active:hover{
    background-color: #449D44;
    opacity: 1;
}
/*图片放大*/
.markdown-body img{margin: 8px 0;cursor: zoom-in}
.photo-viewer{
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    left: 0;top: 0;bottom: 0;right: 0;
    z-index: 9999;
    display: none;
    overflow: auto;
    padding-bottom: 30px;
    cursor: zoom-out;
}
.photo-viewer img{
    padding: 15px;
    border-radius: 5px;
    margin: auto;
    display: block;
    max-width: 95%;
    background-color: #ffffff;
}
/*上下篇*/
.related-link{margin: 30px 0 180px;line-height: 200%;}
.related-link .col-xs-12{white-space: nowrap;overflow: hidden;text-overflow: ellipsis;padding-left: 0;}
.related-link .col-xs-12 a{margin-left: 5px;}
/*文档说明*/
.copyright-statment{border-top: 1px solid #ddd;margin-top: 30px;padding-top: 15px;}
/*进度条*/
.m-manual .manual-progress {
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    height: 1px;
    z-index: 302;
    background-color: #e1e2e3;
}
.m-manual .manual-progress .progress-bar {
    display: block;
    background-color: #136ec2;
    height: 100%
}
/*右侧菜单*/
.jump-bars{
    position: fixed;
    right: 50px;
    bottom: 50px;
    border:1px solid rgba(0,0,0,.1);
    z-index: 9999;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    border-radius: 4px;
    background-color: #fff;
}
.jump-bars ul,.jump-bars li{list-style: none;padding:0;margin: 0;}
.jump-bars li a{display: block;height: 40px;width: 40px;text-align: center;line-height: 40px;color: #666}
.jump-bars li{border-bottom: 1px solid #efefef;}
.jump-bars li:last-child{border-bottom:0;}
.jump-bars li:hover{background-color: #EFEFEF}
.jump-bars li:hover a{color: #10af88}
.jump-bars .bars-menu-hide{display: none !important;}
.markdown-body h1, .markdown-body h2 {
    margin-top: 0;
}

@media screen and (max-width: 840px) {
    .manual-article .article-content{
        min-width: inherit;
    }
    .m-manual .manual-head{
        left: 0;
        padding-left: 15px;
    }
    .m-manual.manual-reader {
        font-size:13px;
        min-width: initial;
    }
    .m-manual.manual-reader .manual-head {
        min-width: initial;
    }
    .m-manual.manual-reader .manual-head .manual-menu{
        display: none;
    }
    .m-manual.manual-reader .manual-body {
        padding-left: 0
    }
    .m-manual.manual-reader .manual-left {
        width: 80%;
        max-width: 360px;
        left: -80%;
        top: 0;
        z-index: 4000
    }
    .m-manual.manual-reader .manual-left .article-menu{
        width: 100%;
    }
    .m-manual.manual-reader .manual-head .pull-left {
        right: 0;
        left: 0;
        position: relative
    }
    .m-manual.manual-reader .manual-head .pull-left .sidebarToggle {
        display: inline-block;
        margin-right: 5px;
        cursor:pointer;
    }
    .m-manual.manual-reader .manual-head .pull-left .sidebarToggle i {
        display: inline-block;
        vertical-align: top;
        margin-top: 18px;
        line-height: 100%
    }
    .m-manual.manual-reader .manual-head .pull-left .manual-title {
        padding-left: 30px;
        height: 54px;
        line-height: 54px;
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden
    }
    .m-manual.manual-reader .article-jump .jump-up,.m-manual.manual-reader .article-jump .jump-down {
        float: none;
        display: block
    }
    .m-manual.manual-reader .m-article .think-loading.loading-ripple {
        margin-left: -48px
    }
    .m-manual.manual-reader .manual-right {
        left: 0
    }
    .m-manual.manual-reader.manual-auto-close .manual-head {
        top: -55px
    }
    .m-manual.manual-reader.manual-auto-close .manual-progress {
        top: 0
    }
    .m-manual.manual-reader.manual-auto-open .manual-head {
        top: 0
    }
    .m-manual.manual-reader .manual-article .article-view {
        padding: 0 12px
    }
    .m-manual.manual-reader .manual-article .markdown-toc{
        display: none;
    }
    .m-manual.manual-reader .manual-mask {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -10;
        background-color: #000;
        opacity: 0
    }
    .m-manual.manual-reader.manual-mobile-show-left .manual-left {
        transition:left 0.5s;
        left: 0;
        z-index: 3001
    }
    .m-manual.manual-reader .manual-left{
        transition: left 0.5s;
    }
    .m-manual.manual-reader.manual-mobile-show-left .manual-mask {
        opacity: .3;
        z-index: 3000
    }
    .jump-bars{right: 15px;bottom: 30px;}
}

.manual-left{transition: margin-left 0.3s;}
.manual-left-toggle{margin-left: -300px;}
.m-manual .manual-right{transition: left 0.3s;}
.m-manual .manual-right-toggle{left: 0;}
.btn-link,a.btn-link,a.btn-link:hover{color: #222222 !important;text-decoration: none;}
.toc-level-3 {
    margin-left: 10px;
}
.toc-level-4 {
    margin-left: 15px;
}

@media screen and (min-width: 1450px) {
    .markdown-toc{
        position: fixed;background-color: #fff;
        z-index: 1;
        top: 70px;
        transition: width 0.5s;
        width: 245px;overflow-y: auto;
        border-left:1px solid #EFEFEF;
        right: 15px;
        max-height: calc(100vh - 85px);
    }
    .article-menu-hide .markdown-toc{
        width: 0;overflow: hidden;border: 0;
    }
    .article-menu-hide .markdown-toc::before{
        border-bottom: 0;
    }
    .markdown-toc-list{
        white-space: nowrap;overflow: hidden;text-overflow: ellipsis;
        width: 200px;
    }
    .markdown-toc::before{
        content: "本章目录";
        color: #aaaaaa;
        position: fixed;
        background-color: #fff;
        width: 228px;
        padding-left: 2.5em;
        line-height: 200%;
        border-bottom: 1px solid #EEEEEE;
        z-index: 9999;
    }
    .article-toggle{position: relative;z-index: 999}
    .markdown-toc ul{
        list-style: none;
        padding-left: 1em;
        margin-top: 45px;
    }
    .markdown-toc a{display: block !important;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;color: #999999;
        font-size: 15px;
    }
    .markdown-toc a.active,.markdown-toc a:hover{color: #008cff;}
    .article-toggle{
        position: fixed;right: 227px;top:71px;cursor: pointer;transition: right 0.5s;
        border: 0;background-color: #fff; padding:5px 5px;
    }
    .article-menu-hide .article-toggle{
        right: 15px;border: 1px solid #EFEFEF;border-radius: 3px;
    }
    .article-toggle img{height: 21px;}
    .m-manual .manual-right .manual-article{
        transition: margin-right 0.5s;margin-right: 240px;
    }
    .article-menu-hide .m-manual .manual-right .manual-article{
        margin-right: 0;
    }
}
.page,.page:last-of-type{border: 1px solid #ddd;}
.page{border-bottom: 0;}
.page img{width: 100%;min-height: 456px;}
.attach-list ul,.attach-list li{padding: 0;margin: 0;}
.markdown-redirect-read{
    max-height:640px;overflow:hidden;
}
.source-tips{
    padding-top: 100px;
    position: relative;
    height: 100px;
    top: -100px;
    background-image: linear-gradient(rgba(255,255,255,0.3), rgb(255, 255, 255));
}
/*暗色样式*/
html.theme-dark{
    filter: invert(1) hue-rotate(180deg);
}
html.theme-dark img{
    filter: invert(1) hue-rotate(180deg);
}
html.theme-dark .doc-menu-item img{
    filter: none;
}
html.theme-dark body{
    font-family: PingFang SC,-apple-system,SF UI Text,Lucida Grande,STheiti,Microsoft YaHei,sans-serif;
}
html.theme-dark .markdown-body{
    color: #666;
    font-family: unset;
}
html.theme-dark .markdown-body pre {
    filter: none;
    background-color: #fafafa;
}
html.theme-dark .com{
    color: #888;
}
html span.moon{display: inline-block;}
html.theme-dark span.moon{display: none;}
html span.sun{display: none;}
html.theme-dark span.sun{display: inline-block;}
.btn-versions button{border: 0;}
/*代码块样式*/
.markdown-body pre[class*='language-'] {
    position: relative;
    margin: 0 0 18px;
    padding: 30px 0 20px 15px;
    font-size: 14px;
    border-radius: 4px;
    /*white-space: pre-wrap;
    word-wrap: break-word;*/
}
.markdown-body pre[class*='language-']::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fc625d;
    box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
    z-index: 1;
}
.markdown-body code[class*="language-"], pre[class*="language-"] {
    color: #ABB2BF;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.5;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}
.markdown-body pre[class*=language-].line-numbers>code{
    left: 30px;
}
.markdown-body pre[class*=language-].line-numbers>code>span.line-numbers-rows{
    left: -40px;
    line-height: 1.5;
    top: -2px;
    width: 30px;
}
.markdown-body pre[class*=language-].line-numbers>code>span.line-numbers-rows>span:before{
    text-align: center;
    padding-right: 5px;
    width: 28px;
}
.markdown-body .toolbar-item{
    margin: 0 5px 0 0;
    cursor: pointer;
}
.markdown-body .toolbar-item>span{
    border-radius: 2px!important;
    padding: 4px!important;
    max-height: 25px;
    height: 25px;
    cursor: pointer;
    vertical-align: middle;
}
.markdown-body .toolbar-item>button{
    padding: 6px 5px!important;
    margin-top: -1px;
    border-radius: 2px!important;
    cursor: pointer;
}
.markdown-body .toolbar-item button span{
    padding: 0!important;
    border-radius: 0!important;
}
.markdown-body .toolbar-item button{
    font-size: 0.72em!important;
    padding: 5px 10px !important;
}